﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Prowess.OIS.OISSetting
{
    public static class OISSettings
    {
        public static String ServerName
        {
            get
            {                
                return OISSetting.Properties.Settings.Default.ServerName;
            }
            set
            {
                OISSetting.Properties.Settings.Default.ServerName = value;
                OISSetting.Properties.Settings.Default.Save();
            }
        }
        public static String UserName
        {
            get
            {
                return OISSetting.Properties.Settings.Default.UserName;
            }
            set
            {
                OISSetting.Properties.Settings.Default.UserName = value;
                OISSetting.Properties.Settings.Default.Save();
            }
        }
        public static String PassWord
        {
            get
            {
                return OISSetting.Properties.Settings.Default.PassWord;
            }
            set
            {
                OISSetting.Properties.Settings.Default.PassWord = value;
                OISSetting.Properties.Settings.Default.Save();
            }
        }
    }
}
